Skip to content

UI/UX: Minimal HTML with missing meta tags#1713

Open
tomaioo wants to merge 1 commit into
looker-open-source:mainfrom
tomaioo:fix/ui/minimal-html-with-missing-meta-tags
Open

UI/UX: Minimal HTML with missing meta tags#1713
tomaioo wants to merge 1 commit into
looker-open-source:mainfrom
tomaioo:fix/ui/minimal-html-with-missing-meta-tags

Conversation

@tomaioo
Copy link
Copy Markdown

@tomaioo tomaioo commented May 11, 2026

Summary

UI/UX: Minimal HTML with missing meta tags

Problem

Severity: Medium | File: packages/api-explorer/public/index.html:L1

The API Explorer index.html lacks viewport meta tag for proper mobile rendering, no favicon, no lang attribute, and no accessibility features.

Solution

Add , , and consider adding a favicon link.

Changes

  • packages/api-explorer/public/index.html (modified)

The API Explorer index.html lacks viewport meta tag for proper mobile rendering, no favicon, no lang attribute, and no accessibility features.

Signed-off-by: tomaioo <203048277+tomaioo@users.noreply.github.com>
@tomaioo tomaioo requested a review from a team as a code owner May 11, 2026 18:17
@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 11, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the index.html file for the API Explorer by adding a language attribute, refining the viewport meta tag, and introducing an SVG favicon. Feedback was provided to include a character set declaration for improved rendering and security, and to fix the empty SVG favicon to ensure it displays a visible icon.

<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The document is missing a character set declaration. It is a best practice to include <meta charset="utf-8"> as the first element in the <head> to ensure correct character rendering and improve security.

Suggested change
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="viewport" content="width=device-width" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>API Explorer</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'></text></svg>" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The SVG favicon contains an empty <text> element, which results in no icon being displayed. Please add a character or symbol (e.g., an emoji or a letter) inside the <text> tag to make the icon visible.

Suggested change
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'></text></svg>" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🚀</text></svg>" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant